<template></template>

<script lang="ts">
export default async function () {
	const book = {
		fileName: state => state.book.fileName,
		menuVisible: state => state.book.menuVisible,
		settingVisible: state => state.book.settingVisible,
		defaultFontSize: state => state.book.defaultFontSize,
		defaultFontFamily: state => state.book.defaultFontFamily,
		fontFamilyVisible: state => state.book.fontFamilyVisible,
		defaultTheme: state => state.book.defaultTheme,
		bookAvailable: state => state.book.bookAvailable,
		progress: state => state.book.progress,
		section: state => state.book.section,
		isPaginating: state => state.book.isPaginating,
		currentBook: state => state.book.currentBook,
		navigation: state => state.book.navigation,
		cover: state => state.book.cover,
		metadata: state => state.book.metadata,
		paginate: state => state.book.paginate,
		pagelist: state => state.book.pagelist,
		offsetY: state => state.book.offsetY,
		isBookmark: state => state.book.isBookmark,
		hotSearchOffsetY: state => state.store.hotSearchOffsetY,
		flapCardVisible: state => state.store.flapCardVisible,
		isEditMode: state => state.store.isEditMode,
		shelfList: state => state.store.shelfList,
		shelfSelected: state => state.store.shelfSelected,
		shelfTitleVisible: state => state.store.shelfTitleVisible,
		shelfCategory: state => state.store.shelfCategory,
		currentType: state => state.store.currentType
	};

	return book;
}
</script>
